<template>
	<view class="page">
		
		<cu-custom bgColor="bg-white" :isBack="true">
			<block slot="backText">返回</block>
			<block slot="content">文章预览</block>
		</cu-custom>
		<view class="margin">
			<mp-html :content="htmlContent" />
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				htmlContent: ''
			}
		},
		onLoad() {
		  const eventChannel = this.getOpenerEventChannel()
		  eventChannel.once('e-transmit-html', (res) => {
		    this.htmlContent = res.data
		  })
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
